Correcting speech misrecognition of spoken utterances

ABSTRACT

Implementations can receive audio data corresponding to a spoken utterance of a user, process the audio data to generate a plurality of speech hypotheses, determine an action to be performed by an automated assistant based on the speech hypotheses, and cause the computing device to render an indication of the action. In response to the computing device rendering the indication, implementations can receive additional audio data corresponding to an additional spoken utterance of the user, process the additional audio data to determine that a portion of the spoken utterance is similar to an additional portion of the additional spoken utterance, supplant the action with an alternate action, and cause the automated assistant to initiate performance of the alternate action. Some implementations can determine whether to render the indication of the action based on a confidence level associated with the action.

BACKGROUND

Humans may engage in human-to-computer dialogs with interactive softwareapplications referred to herein as “automated assistants” (also referredto as “chatbots,” “interactive personal assistants,” “intelligentpersonal assistants,” “personal voice assistants,” “conversationalagents,” etc.). For example, humans (which when they interact withautomated assistants may be referred to as “users”) may provide commandsand/or requests to an automated assistant using spoken natural languageinput (i.e., spoken utterances), which may in some cases be convertedinto text and then processed, and/or by providing textual (e.g., typed)natural language input. An automated assistant generally responds to acommand or request by providing responsive user interface output (e.g.,audible and/or visual user interface output), controlling smartdevice(s), and/or performing other action(s).

Automated assistants typically rely upon a pipeline of components ininterpreting and responding to user requests. For example, an automaticspeech recognition (ASR) engine can be used to process audio data thatcorrespond to a spoken utterance, to generate a transcription (i.e.,sequence of term(s) and/or other token(s)) of the user's utterance.However, in performing ASR, certain term(s) may be misrecognized. As aresult, the automated assistant may perform an action that was notintended by the user. This can cause the user to repeat the same spokenutterance (which may be misrecognized again) or cause the user toperform some other action, thereby prolonging the human-to-computerdialog and/or causing the user to consume additional computationalresources beyond the human-to-computer dialog.

SUMMARY

Some implementations disclosed herein relate to identifying andcorrecting misrecognitions in speech recognition during ahuman-to-computer dialog session. For example, in response to receivinga spoken utterance of “Play a song by John Doe” from a user of acomputing device, an automated assistant can cause speech recognition tobe performed on the spoken utterance. In performing speech recognition,multiple term hypotheses can be generated for one or more portions ofthe speech. This, in turn, results in a plurality of transcriptionhypotheses being generated. In this example, assume that multiple termhypotheses are generated for the portion of speech corresponding to“Doe”, such as “Roe”, “Doe”, “Row”, and “Dough”. This results inmultiple transcription hypotheses such as “Play a song by John Roe”,“Play a song by John Dough”, etc. A given transcription hypothesis, ofthe plurality of transcription hypotheses, can be selected ascorresponding to the spoken utterance utilizing one or more techniques.For example, assume that the selected transcription speech hypothesiscorresponds to “Play a song by John Roe” (rather than “Doe” as the userintended). The selection of the term hypothesis “Roe” over the termhypothesis “Doe” in this example represents a misrecognition in speechrecognition for the given transcription hypothesis. As a result of themisrecognition, the automated assistant can cause a song by “John Roe”(not “John Doe”) to begin playing and/or, before the song beings playingcan cause a spoken response of “Okay, playing a song by John Roe” to beaudibly rendered at the computing device of the user. Further assume, inresponse to the song being played and/or the spoken response beingaudibly rendered, an additional spoken utterance of “No, Doe” isreceived at the computing device and from the user. The automatedassistant can process the additional spoken utterance to determine thatthe additional spoken utterance corrects the misrecognition in speechrecognition (e.g., “Doe” instead of “Roe”).

As one example, the additional spoken utterance can be processed todetermine that the “Doe” portion of the additional spoken utterance issimilar to the “Doe” portion of the prior spoken utterance (i.e., thatwas misrecognized as “Roe”). This similarity determination can include,for example, determining the portions are phonetically similar,acoustically similar, and/or have one or more overlapping termhypotheses from speech recognition. In response, speech recognition thatis performed on the additional spoken utterance can be utilized tocorrect the prior misrecognition, enabling an alternate action ofplaying a song by “John Doe” (not “Roe”) to be performed. As oneexample, additional term hypotheses for the “Doe” portion of theadditional spoken utterance and the term hypotheses for the “Doe”portion of the prior spoken utterance can be considered together todetermine that a term hypothesis of “Doe” is common to both (andoptionally that corresponding confidence level(s) for both satisfies athreshold) and, in response, use “Doe” to correct the misrecognition of“Roe”. As a result, an alternate transcription hypothesis of “Play asong by John Doe” can be utilized to determine the alternate action

In some implementations, audio data that captures a spoken utterance canbe processed, using speech recognition model(s), locally at a computingdevice that detected the audio data (e.g., via microphone(s) thereof).In some additional and/or alternative implementations, the audio data(or features derived therefrom) can be transmitted to a remote computingsystem (e.g., server(s)) over one or more networks, and processed, usingthe speech recognition model(s), remotely at the remote computingsystem. In processing the audio data, a plurality of speech hypotheses(including term hypotheses and/or transcription hypotheses) can begenerated using the speech recognition model(s) (e.g., as direct outputfrom processing using the speech recognition model(s) and/or bypost-processing of such output), and each of the plurality of speechhypotheses can be associated with a respective confidence levelcorresponding to a likelihood that a given speech hypothesis correspondsto the spoken utterance. A given speech hypothesis, of the plurality ofspeech hypotheses, can be selected as corresponding to the spokenutterance based on the respective confidence levels. Further, theplurality of speech hypotheses for a given spoken utterance can bestored in memory and/or in one or more databases. For example, assume aspoken utterance of “Play a song by John Doe” is received. In thisexample, a first transcription hypothesis of “Play a song by John Doe”(including a first term hypothesis of “Doe”) can be generated along withfirst respective confidence level(s) (e.g., associated with the firsttranscription hypothesis and/or the first term hypothesis), a secondtranscription hypothesis of “Play a song by John Roe” (including asecond term hypothesis of “Roe”) can be generated along with secondrespective confidence level (s) (e.g., associated with the secondtranscription hypothesis and/or the second term hypothesis), and so on.In some additional and/or alternative versions of those implementations,transcriptions corresponding to one or more of the plurality oftranscription hypotheses can also be generated.

Further, the automated assistant can determine an action to be performedbased on the given speech hypothesis that is selected as correspondingto the spoken utterance. The action can include, for example, at leastan intent of the user and slot values for one or more parametersassociated with the intent. For example, assume the given speechhypothesis that is selected as corresponding to the spoken utterancecorresponds to “Turn on the bedroom lights”. In this example, the actioncan include the intent of “turn on lights”, and a slot value of“bedroom” for a “semantic identifier” parameter. As another example,assume the given speech hypothesis that is selected as corresponding tothe spoken utterance corresponds to “Play a song by John Doe”. In thisexample, the action can include the intent of “play a song”, and a slotvalue of “John Doe” for an “artist” parameter (and optionally a slotvalue for a “song” parameter if a particular song is specified by theuser).

Moreover, the automated assistant can optionally cause the computingdevice to render a spoken response that indicates the action to beperformed by the automated assistant via speaker(s) of the computingdevice. For example, the automated assistant can cause a spoken responseof “Ok, playing a song by John Doe” to be audibly rendered in responseto receiving a spoken utterance of “Assistant, play a song by John Doe”.In implementations where the computing device includes a display, theautomated assistant can additionally and/or alternatively cause thecomputing device to visually render an indication of the action to beperformed. For example, the automated assistant can cause the display ofthe computing device to visually render a transcription of the givenspeech hypothesis that is selected as corresponding to the spokenutterance, one or more control elements associated with the action to beperformed (e.g., music control elements, home automation device controlelements, etc.), and/or other visual indications.

In some implementations, additional audio data that corresponds to anadditional spoken utterance can be detected via the microphone(s) of thecomputing device of the user. The additional audio data that correspondsto the additional spoken utterance may be received responsive to audiblyrendering the spoken response that indicates the action to be performedby the automated assistant. The additional audio data can optionally befiltered to remove any audio data corresponding to the spoken responseif the additional audio data is received while the spoken response isbeing audibly rendered and/or to remove any other audio data of otherhumans in the environment (e.g., via voice filtering) or ambient noise.

In some versions of those implementations, in response to determiningthat the respective confidence level associated with the given speechhypothesis that is selected as corresponding to the spoken utterancefails to satisfy a threshold confidence level, the automated assistantcan keep one or more components of the computing device active inanticipation of receiving the additional audio data corresponding to theadditional spoken utterance. For example, if the automated assistantdetermines that the spoken utterance corresponds to the given speechhypothesis of “Play some music by John Roe”, but the respectiveconfidence level associated with the given speech hypothesis fails tosatisfy the threshold confidence level, then speech recognition can bekept active in anticipation that the user will provide the additionalspoken utterance to correct a potential misrecognition. In keepingspeech recognition active, certain parameters of the speech recognitionmay be adapted. For instance, speech recognition may be limited to avoice that corresponds to a user that provided the original spokenutterance (e.g., using voice ID) and/or endpointing of the additionalaudio data may be restricted to an expected length of any additionalspoken utterance that corrects a misrecognition, such as a length of ashortest speech hypothesis, of the plurality of speech hypotheses, to alength of a longest speech hypothesis, of the plurality of speechhypotheses. Moreover, the one or more components may be kept active fora pre-defined period of time (e.g., three seconds, four seconds, and soon), until the automated assistant initiates performance of the action,or for a pre-defined period of time after the automated assistantinitiates performance of the action (e.g., two seconds, five seconds,and so on) and/or fully performs the action. This enables the user tomore quickly provide the additional spoken utterance without having toprolong the dialog session by again triggering the automated assistant(e.g., using a hotword, a button press, or any other mechanism forinvoking the automated assistant). As another example, if the respectiveconfidence level fails to satisfy the threshold confidence level, fullperformance of the action can additionally or alternatively bepurposefully delayed. For instance, a communication session can beestablished with a music streaming service, but requesting music from“John Roe” may be delayed (e.g., for 1-3 seconds) to enable time for theuser to provide a corrective utterance and to prevent potentiallywasteful transmission and/or rendering of errant audio data.

In some additional and/or alternative versions of those implementations,in response to determining that the respective confidence levelassociated with the given speech hypothesis that is selected ascorresponding to the spoken utterance satisfies the threshold confidencelevel, the automated assistant can deactivate one or more of thecomponents of the computing device prior to receiving the additionalaudio data corresponding to the additional spoken utterance. Forexample, if the automated assistant determines that the spoken utterancecorresponds to the given speech hypothesis of “Play some music by JohnRoe”, and the respective confidence level associated with the givenspeech hypothesis satisfies the threshold confidence level, then speechrecognition may be deactivated. By deactivating speech recognition insuch situations, processor and/or power resources can be conserved thatwould otherwise be required to keep it active. To reactivate one or moreof the components, the user may need to again invoke the automatedassistant.

In some additional and/or alternative versions of those implementations,determining whether to keep one or more of the components of the clientdevice active or deactivate one or more of the components can be basedon other factors. The other factors can include, for example, the actiondetermined based on the spoken utterance, environmental characteristicsin an environment of the user when the spoken utterance was received, afrequency at which the user of the client device provides follow uputterances (and optionally where the follow up utterances correctmisrecognitions). For example, if the action determined based on thespoken utterance includes a slot value that is a proper noun (e.g.,“Give me directions to Ron's house”, “Play a song by John Doe”, etc.) orthe action is a type of action that often includes a misrecognition,then one or more of the components of the client device may be keptactive in anticipation of receiving an additional spoken utterance tocorrect a possible misrecognition. However, if the action determinedbased on the spoken utterance does not include a proper noun (e.g.,“Open the navigation application”, “Play some music”, etc.) or theaction is rarely misrecognized, then one or more of the components ofthe client device may be deactivated. As another example, if an ambientnoise in an environment of the user exceeds a threshold noise level,then one or more of the components of the client device may be keptactive in anticipation of receiving an additional spoken utterance tocorrect a possible misrecognition due to the ambient noise. As yetanother example, if a user frequently provides a follow-up spokenutterance to correct misrecognitions (e.g., for a threshold number orpercentage of spoken utterances provided by the user), then one or moreof the components of the client device may be kept active inanticipation of receiving an additional spoken utterance to correct apossible misrecognition.

In some versions of those implementations, the additional audio datacorresponding to the additional spoken utterance can be processed todetermine whether at least a portion of the spoken utterance is similarto an additional portion of the additional spoken utterance. Thesimilarity between the portion of the spoken utterance and theadditional portion of the additional spoken utterance can be, forexample, phonetic similarity. In some further versions of thoseimplementations, acoustic features of the features of the spokenutterance can be compared to additional acoustic features of theadditional spoken utterance. Comparing the acoustic features and theadditional acoustic can include, for example, and with respect to thesimilar portions of the spoken utterance and the additional spokenutterance, comparing an audio waveform of the spoken utterance and theadditional spoken utterance, comparing mel-frequency Cepstralcoefficients (MFCCs) of the spoken utterance and the additional spokenutterance, comparing mel filterbank features of the spoken utterance andthe additional spoken utterance and/or comparing other acousticfeatures, such as an embedding derived from a machine learning modelthat processes or recognizes the speech (e.g., a voice activitydetector, word detection model(s) 150A, speech recognition model(s)120A, and/or other machine learning models). Based on comparing theacoustic features and the additional acoustic features, the automatedassistant can identify whether at least a portion of the spokenutterance and an additional portion of the additional spoken aresimilar.

In some additional and/or alternative versions of those implementations,the additional audio data that corresponds to the additional spokenutterance can be processed, using the speech recognition model(s), togenerate a plurality of additional speech hypotheses (e.g.,transcription hypotheses and/or term hypotheses). In some versions ofthose implementations, the plurality of additional speech hypotheses canbe restricted to the plurality of speech hypotheses generated inprocessing the original audio data that corresponds to the spokenutterance, and can optionally omit the given speech hypothesis that wasselected as corresponding to the spoken utterance. For example, assumethe spoken utterance corresponds to “Play a song by John Doe”, theassistant audibly rendered “Ok, playing a song by John Roe”, and theadditional spoken utterance correspond to “No, John Doe”. In thisexample (and assuming the automated assistant is confident the termhypotheses for “Play”, “a”, “song”, “by”, “John” are correct), theautomated assistant compares acoustic features of the spoken utterances,and determines that “Roe” and “Doe” are similar (e.g., phonetically,acoustically, and/or textually). The additional spoken utterance of “No,John Doe” can be processed, using the speech recognition model(s), togenerate the additional speech hypotheses (e.g., transcriptionhypotheses and/or term hypotheses) that are restricted to thoseconsidered in previously processing the prior spoken utterance of “Playa song by John Doe”. Further, the automated assistant can select anadditional transcription hypothesis of “Play a song by John Doe” as thecorrect speech hypothesis for the prior spoken utterance by using thealternate term hypothesis of “Doe” instead of “Roe”. In contrast, assumethe spoken utterance corresponds to “Play a song by John Doe”, theassistant audibly rendered “Ok, playing a song by John Roe”, and theadditional spoken utterance corresponds to “No, John Smith”. In thisexample, the automated assistant can compare acoustic features of thespoken utterances, and determines that “Roe” and “Smith” are notsimilar, and that the correction by the user was not due tomisrecognition.

In some additional and/or alternative versions of those implementations,an additional transcription corresponding to the additional given speechhypothesis can be generated. The additional transcription correspondingto the additional given speech hypothesis can be compared to theoriginal transcription corresponding to the original given speechhypothesis to determine similarity between the original spoken utteranceand the additional spoken utterance. The similarity between thetranscriptions can be determined based on, for example, an edit distancebetween one or more recognized terms included in the transcriptionsand/or other textual or phonetic similarities. Continuing with the aboveexamples, a portion of the transcription that corresponds that to thegiven speech hypothesis (e.g., “Roe”) can be compared to an additionalportion of the additional transcription that corresponds to theadditional given speech hypothesis (e.g., “Doe” or “Smith”). Based on anedit distance between “Roe” and “Doe” determined based on thecomparison, the automated assistant can determine the similaritysatisfies a similarity threshold. In this example, the edit distance maybe relatively small, and the misrecognition (e.g., selecting “Roe”instead of “Doe”) can be identified. In contrast, based on an editdistance between “Roe” and “Smith” determined based on the comparison,the automated assistant can determine the similarity does not satisfy asimilarity threshold. In this example, the edit distance may berelatively larger, and that the additional spoken utterance was notprovided due to misrecognition.

In various implementations, the automated assistant can supplant theoriginal action determined based on the original spoken utterance withan alternate action. For example, the automated assistant can supplantan intent determined for the original action or a slot value determinedfor the original action. Continuing with the above example, theautomated assistant can supplant the slot value of “John Roe” with analternate slot value of “John Doe” based on identifying themisrecognition. In this example, the resulting alternate action includesthe same intent of “Play a song”, but a different slot value of “JohnDoe” for the “artist” parameter. The automated assistant can theninitiate performance of the action corresponding to “Play a song by JohnDoe” as the user originally intended. In some versions of thoseimplementations, the automated assistant can audibly render anadditional spoken response that includes an indication of the alternateaction (e.g., “Right, John Doe”). Further, the automated assistant canhalt the errant original action, if it was initiated and is stillongoing (e.g., stop playing a song), or reverse the errant originalaction (e.g., turn off a light that was not supposed to be turned on).

In various implementations, the automated assistant can cause speechrecognition to be biased towards the alternate action and/or away fromthe action. For example, if the user were to subsequently provide afurther additional spoken utterance of “Play another song by John Doe”(either in the same dialog session or a subsequent dialog session), theautomated assistant can cause the processing, using the speechrecognition model(s), of the further additional spoken utterance to bebiased towards “John Doe” and/or away from “John Roe” as the slot valuefor the “artist” parameter of a subsequent action. In contrast, withrespect to the “John Roe” and “John Smith” example from above, theautomated assistant may not cause the processing, using the speechrecognition model(s), of the further additional spoken utterance to bebiased towards “John Smith” and/or away from “John Roe” as the slotvalue for the “artist” parameter of a subsequent action since theprevious correction was not due to misrecognition. In some versions ofthose implementations, the automated assistant may only cause theprocessing of the spoken utterance to be biased during the currentdialog session. In some additional and/or alternative versions of thoseimplementations, the automated assistant may cause the processing of thespoken utterance to be biased during subsequent dialog sessions.

In various implementations, and with respect to the automated assistantcausing the computing device to render an indication of the action to beperformed, the indication rendered may be based on the confidence levelassociated with the given speech hypothesis (e.g., the transcriptionhypothesis as a whole and/or the term hypotheses for terms included inthe transcription) that is selected as corresponding to the spokenutterance. For example, if the confidence level satisfies a firstthreshold confidence level, this may indicate the automated assistant ishighly confident that the given speech hypothesis corresponds to thespoken utterance, and the automated assistant may fully perform theaction without audibly rendering the spoken response that indicates theaction to be performed, and may deactivate one or more of the componentsof the computing device. For instance, if the spoken utterance is “Playa song by John Doe” and the automated assistant is highly confident atranscription of “Play a song by John Doe” and/or the terms thereofcorrespond to the spoken utterance, then the automated assistant mayplay the song. As another example, if the confidence level fails tosatisfy the first threshold confidence level, but satisfies a secondthreshold confidence level, this may indicate the automated assistant ismildly confident that the given speech hypothesis corresponds to thespoken utterance, and the automated assistant may audibly render thespoken response that indicates the action to be performed and mayinitiate performance of the action, but may keep one or more of thecomponents of the computing device active. For instance, if the spokenutterance is “Play a song by John Doe” but the automated assistant isonly mildly confident a transcription of “Play a song by John Doe”and/or the terms thereof correspond to the spoken utterance, then theautomated assistant may audibly render “Ok, playing a song by John Doe”,and then play the song. As yet another example, if the confidence levelfails to satisfy the first threshold confidence level and the secondthreshold confidence level, this may indicate the automated assistant isnot confident that the given speech hypothesis corresponds to the spokenutterance, and the automated assistant may audibly render the spokenresponse that indicates the action to be performed and may determine atemporal delay prior to initiating performance of the action and maykeep one or more of the components of the computing device active. Forinstance, if the spoken utterance is “Play a song by John Doe” but theautomated assistant is not confident a transcription of “Play a song byJohn Doe” and/or the terms thereof correspond to the spoken utterance,then the automated assistant may audibly render “Ok, playing a song byJohn Doe” and establish a communication session with a music streamingservice, but for the temporal delay to lapse prior to requesting a songby “John Doe”. This enables time for the user to provide a correctiveutterance and to prevent potentially wasteful transmission and/orrendering of errant audio data.

The above description is provided as an overview of only someimplementations disclosed herein. Those implementations, and otherimplementations, are described in additional detail herein.

It should be understood that techniques disclosed herein can beimplemented locally on a client device, remotely by server(s) connectedto the client device via one or more networks, and/or both.

Various implementations can include a non-transitory computer readablestorage medium storing instructions executable by a processor to performa method such as one or more of the methods described herein. Yet othervarious implementations can include a system including memory and one ormore hardware processors operable to execute instructions, stored in thememory, to perform a method such as one or more of the methods describedherein.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a block diagram of an example environment thatdemonstrates various aspects of the present disclosure, and in whichimplementations disclosed herein may be implemented.

FIGS. 2A and 2B depict process flows illustrating exampleimplementations of utilizing the various components of FIG. 1 inidentifying speech misrecognitions, in accordance with variousimplementations.

FIG. 3 is a flowchart illustrating an example method of supplanting anaction to be performed by an automated assistant with an alternateaction based on identifying a speech misrecognition, in accordance withvarious implementations.

FIG. 4 is a flowchart illustrating an example method of determiningsimilarity between at least a portion of a spoken utterance and at leastan additional portion of an additional spoken utterance for the methodof FIG. 3, in accordance with various implementations.

FIG. 5 is a flowchart illustrating an example method of determiningwhether to render a spoken response that indicates an action to beperformed by an automated assistant, and determining when to initiateperformance of the action by the automated assistant, in accordance withvarious implementations.

FIGS. 6A, 6B, and 6C various non-limiting examples of dialog sessionsbetween a user of a computing device and an automated assistantaccessible at the computing device, in accordance with variousimplementations.

FIG. 7 depicts an example architecture of a computing device, inaccordance with various implementations.

DETAILED DESCRIPTION

Turning now to FIG. 1, a block diagram of an example environment thatdemonstrates various aspects of the present disclosure is depicted. Aclient device 110 is illustrated in FIG. 1, and includes, in variousimplementations, a user input engine 111, a rendering engine 112, aspeech recognition engine 120A1, a speech synthesis engine 130A1, and atranscription engine 113. The client device 110 can be, for example, amobile device, a standalone device having a display, a standalonespeaker device, a laptop, a computer, a home automation device, and/orany other device(s) capable of implementing a human-to-computer dialogsession. A speech misrecognition system 160 is also illustrated in FIG.1, and includes, in various implementations, speech recognition engine120A2, speech synthesis engine 130A2, misrecognition engine 140, andword detection engine 150. In some implementations, the speechmisrecognition system 160 can be implemented by server(s) incommunication with the client device 110 over network(s) 190 as shown inFIG. 1. The network(s) 190 can include, for example, Wi-Fi, Bluetooth,near-field communication, local area network(s), wide area network(s),and/or other networks. In other implementations, the speechmisrecognition system 160 can be implemented locally at the clientdevice 110. An automated assistant 180 can be implemented locally at theclient device 110, remotely at the speech misrecognition system 160, orat both in a distributed manner (e.g., as shown by the dashed line inFIG. 1). The automated assistant 180 can facilitate operations performedby the client device 110 and/or the speech misrecognition system 160.

The user input engine 111 can detect user input at the client device110. The user input detected at the client device 110 can include spokenutterances detected via microphone(s) of the client device 110. Themicrophone(s) can generate audio data based on spoken utterancesdetected via the microphone(s) of the client device 110. For example,the user input engine 111 can detect a spoken utterance of a given userof the client device 110. The automated assistant can cause the speechrecognition engine 120A1 of the client device 110 and/or the speechrecognition engine 120A2 of the speech misrecognition engine 160 toprocess, using speech recognition model(s) 120A, the spoken utterance togenerate a plurality of speech hypotheses, and a respective confidencelevel associated with each of the plurality of speech hypotheses.Although the techniques described herein generally relate to processingspoken utterances, it should be understood that the user input detectedat the client device can also include touch input detected via a displayof the client device 110.

In some implementations, the automated assistant 180 may only use thespeech recognition engine 120A1 that is local to the client device 110in processing the spoken utterance to generate the plurality of speechhypotheses. In other implementations, the automated assistant 180 mayonly use the speech recognition engine 120A2 that is remote to theclient device 110 in processing the spoken utterance to generate theplurality of speech hypotheses. In some additional and/or alternativeimplementations, the automated assistant 180 may cause both the speechrecognition engine 120A1 and the speech recognition engine 120A2 togenerate the plurality of speech hypotheses, such that the plurality ofspeech hypotheses include speech hypotheses generated by both of thespeech recognition engines 120A1 and/or 120A2. The plurality of speechhypotheses can be stored in memory (e.g., short-term memory) and/or oneor more databases accessible at the client device 110 and/or the speechmisrecognition system 160 (e.g., in speech hypotheses database 120N).

In some implementations, the speech recognition model(s) 120A areend-to-end speech recognition model(s), such that the speech recognitionengine(s) 120A1 and/or 120A2 can generate the plurality of speechhypotheses corresponding to the spoken utterance directly using thespeech recognition model(s) 120A. For instance, the speech recognitionmodel(s) 120A can be used to generate the textual(s) plurality of speechhypotheses on a character-by-character basis (or a token-by-tokenbasis). One non-limiting example of such end-to-end model(s) used togenerate the plurality of speech hypotheses on a character-by-characterbasis is a recurrent neural network transducer (RNN-T) model. An RNN-Tmodel is a form of sequence-to-sequence model that does not employattention mechanisms. Unlike most sequence-to-sequence models, whichtypically need to process the entire input sequence (e.g., an audio datawaveform, mel-frequency Cepstral coefficients (MFCCs), and/or otherrepresentation) to generate predicted output, an RNN-T model can be usedto continuously process input samples and stream output symbols (e.g.,characters of the alphabet). Also, for example, when the speechrecognition model(s) 120A are not end-to-end speech recognition model(s)120A, the speech recognition engine(s) 120A1 and/or 120A2 can insteadgenerate predicted phoneme(s) (and/or other representations). Forinstance, with such models the predicted phoneme(s) (and/or otherrepresentations) are then utilized by the speech recognition engine(s)120A1 and/or 120A2 to determine the plurality of speech hypotheses thatconform to the predicted phoneme(s). In doing so, the speech recognitionengine(s) 120A1 and/or 120A2 can optionally employ a decoding graph, alexicon, and/or other resource(s).

The plurality of speech hypotheses can include, for example, a pluralityof term hypotheses and a plurality of transcription hypotheses. Forexample, assume the client device 110 receives a spoken utterance of“send a text message to Ron” that is detected via the user input engine111, and microphone(s) of the client device 110 generate audio data thatcorresponds to the spoken utterance. The automated assistant 180 cancause the speech recognition engine(s) 120A1 and/or 120A2 to process,using the speech recognition model(s) 120A, the audio data thatcorresponds to the spoken utterance to generate the plurality of speechhypotheses. In this example, the speech recognition engine(s) 120A1and/or 120A2 can generate term hypotheses corresponding to each termincluded in the spoken utterance. For example, term hypothesescorresponding to “Ron” of the spoken utterance can include termhypotheses of “Ron” (e.g., associated with a first confidence level),“Don” (e.g., associated with a second confidence level), “Juan” (e.g.,associated with a third confidence level), and so on. Further assume theautomated assistant 180 is highly confident in term hypotheses for“send”, “a”, “text”, “message”, and “to” of the spoken utterance, but isnot highly confident in a given term hypothesis corresponding to “Ron”.The plurality of transcription hypotheses can be generated based on theplurality of term hypotheses corresponding to “Ron” of the spokenutterance, resulting in transcription hypotheses of “send a text messageto Ron”, “send a text message to Don”, “send a text message to Juan”,and so on. Each of the transcription hypotheses can be associated with arespective confidence level that corresponds to the respectiveconfidence level for the term hypothesis corresponding to “Ron” that isincluded in each of the transcription hypotheses. The automatedassistant 180 can select a given term hypothesis, of the plurality ofterm hypotheses, corresponding to “Ron” for the spoken utterance basedon the respective confidence levels, thereby also selecting a giventranscription hypothesis, of the plurality of transcription hypotheses,that includes the given term hypothesis.

The automated assistant 180 can determine an action to be performedbased on a given speech hypothesis (e.g., the given term hypothesisand/or the given transcription hypothesis). The action can include, forexample, an intent and slot value(s) for parameter(s) associated withthe intent. As described below (e.g., with respect to FIGS. 2A and 2B),the automated assistant can process, using a natural languageunderstanding (“NLU”) engine, the given transcription hypothesis todetermine the intent. Continuing with the above example, assume theautomated assistant 180 selected “send a text message to Don” as thegiven transcription hypothesis corresponding to the spoken utterance(instead of “Ron” as intended by the user). In this example, the intentof the action may be “send a text message”, and the slot value for a“recipient” parameter may be “Don” (and optionally a slot value for a“text message content” parameter if included in the spoken utterance).The automated assistant 180 can cause the rendering engine 112 of theclient device 110 to audibly render a spoken response that is based onthe given transcription hypothesis. Continuing with the above example,the automated assistant 180 can cause the client device 110 to audiblyrender, via speaker(s) of the client device 110, a spoken response of“Ok, sending a text message to Don” that indicates the action to beperformed by the automated assistant 180. In some implementations,speech synthesis engine 130A1 of the client device and/or speechsynthesis engine 130A2 can process, using speech synthesis model(s)130A, the given speech hypotheses to generate the spoken response thatis audibly rendered via the speaker(s) of the client device 110.

In some implementations, the automated assistant 180 can cause thetranscription engine 113 of the client device 110 to generate atranscription based on the given speech hypothesis that is selected ascorresponding to the spoken utterance. Continuing with the aboveexample, the automated assistant can generate a transcription of “Ok,sending a text message to Don”. In some additional and/or alternativeimplementations where the client device 110 includes a display, theautomated assistant 180 can cause rendering engine 112 of the clientdevice 110 to visually render, via the display, the transcription of“Ok, sending a text message to Don”, a text message conversation betweena user of the client device 110 and “Don”, one or more control elementsfor editing and/or sending the text message to “Don”, and so on. Inimplementations where the automated assistant 180 causes thetranscription engine 113 of the client device 110 to generate thetranscription, the speech synthesis engine 130A1 and/or 130A2 canprocess, using the speech synthesis model(s) 130A, the transcription togenerate the spoken response that is audibly rendered via the speaker(s)of the client device 110.

For example, and referring to FIG. 2A, assume audio data 201corresponding to a spoken utterance of “send a text message to Ron” isreceived at the client device 110. The automated assistant 180 can causethe speech recognition engine 120A1 and/or 120A2 to process, using thespeech recognition model(s) 120A, the audio data 202, and the automatedassistant 180 can select a given speech hypothesis 202, of a pluralityof speech hypotheses, based on a respective confidence level associatedwith each of the plurality of speech hypotheses. The automated assistant180 can also cause the plurality of speech hypotheses to be stored inmemory and/or one or more databases (e.g., in the speech hypothesesdatabase 120N). Further assume the given speech hypothesis 202 selectedby the automated assistant 180 as corresponding to the spoken utterancecaptured in the audio data 201 corresponds to a given transcriptionhypothesis of “send a text message to Don” that misrecognized “Ron” as“Don”.

The automated assistant 180 can cause NLU engine 222 to process thegiven speech hypothesis 202 (and/or a transcription thereof) to generateNLU data 222A. Further, the automated assistant 180 can determine anaction to be performed responsive to receiving the audio data 201. Forinstance, the NLU data 222A may include an intent of “send a textmessage”, and a slot value of “Don” for a “recipient” parameterassociated with the intent. The NLU data 222A can optionally includeslot value(s) for other parameter(s) associated with the intent.Moreover, the automated assistant can cause the fulfillment engine 223to process the NLU data 222A to generate fulfillment data 223A. Forinstance, the fulfillment data 223A may include a request to establishcommunication with a third-party service (e.g., a music streamingservice, a restaurant reservation service, and/or other third-partyservices), a request that is to be transmitted to a software applicationaccessible by the computing device 110 or a home automation device thatrepresents the action, and/or other fulfillment data 223A.

In various implementations, the automated assistant 180 can causeconfidence engine 221 to process the given speech hypothesis 202. Theconfidence engine 221 can determine whether the respective confidencelevel associated with the given speech hypothesis 202 satisfies one ormore threshold confidence levels. In some versions of thoseimplementations, the automated assistant 180 can cause the client device110 and/or the speech misrecognition system 160 to keep one or morecomponents active, or deactivate one or more of the components, based onthe respective confidence level associated with the given speechhypothesis 202. For instance, if the respective confidence levelassociated with the given speech hypothesis 202 satisfies a thresholdconfidence level, then the automated assistant 180 may cause the clientdevice 110 and/or the speech misrecognition system 160 to deactivate oneor more of the components of the client device 110 and/or the speechmisrecognition system 160 (e.g., speech recognition engine 120A1 and/or120A2). However, if the respective confidence level associated with thegiven speech hypothesis 202 fails to satisfy the threshold confidencelevel, then the automated assistant 180 may cause the client device 110and/or the speech misrecognition system 160 to keep one or more of thecomponents of the client device 110 and/or the speech misrecognitionsystem 160 active (e.g., speech recognition engine 120A1 and/or 120A2).Moreover, in keeping one or more of the components active, certainparameters of the one or more components may be adapted. For instance,speech recognition may be limited to a voice that corresponds to a userthat provided the original spoken utterance (e.g., using voice ID)and/or endpointing of the additional audio data 203 may be restricted toan expected length of any additional spoken utterance that corrects amisrecognition, such as a length of a shortest speech hypothesis, of theplurality of speech hypotheses, to a length of a longest speechhypothesis, of the plurality of speech hypotheses. Moreover, the one ormore components may be kept active for a pre-defined period of time(e.g., three seconds, four seconds, and so on), until the automatedassistant 180 initiates performance of the action, or for a pre-definedperiod of time after the automated assistant 180 initiates performanceof the action (e.g., two seconds, five seconds, and so on) and/or fullyperforms the action. In other words, the automated assistant 180 cankeep component(s) of the client device 110 and/or the speechmisrecognition system 160 active if the automated assistant 180 is notconfident in the interpretation of the audio data 201.

In some additional and/or alternative versions of those implementations,determining whether to keep one or more of the components of the clientdevice 110 active or deactivate one or more of the components can bebased on other factors that are in addition to, or in lieu of, therespective confidence level associated with the given speech hypothesis202. The other factors can include, for example, the action determinedbased on the audio data 201, environmental characteristics in anenvironment of the user of the client device 110 when the audio data 201was received, a frequency at which the user of the client device 110provides follow up utterances (and optionally where the follow uputterances correct misrecognitions). For example, if the actiondetermined based on the audio data 201 includes a slot value that is aproper noun (e.g., “Give me directions to Ron's house”, “Play a song byJohn Doe”, etc.) or the action is a type of action that often includes amisrecognition, then one or more of the components of the client device110 may be kept active in anticipation of receiving additional audiodata to correct a possible misrecognition. However, if the actiondetermined based on the spoken utterance does not include a proper noun(e.g., “Open the navigation application”, “Play some music”, etc.) orthe action is rarely misrecognized, then one or more of the componentsof the client device 110 may be deactivated. As another example, if anambient noise in an environment of the user of the client device 110exceeds a threshold noise level, then one or more of the components ofthe client device 110 may be kept active in anticipation of receivingadditional audio data to correct a possible misrecognition due to theambient noise. As yet another example, if a user frequently provides afollow-up spoken utterance to correct misrecognitions (e.g., for athreshold number or percentage of spoken utterances provided by theuser), then one or more of the components of the client device 110 maybe kept active in anticipation of receiving additional audio data tocorrect a possible misrecognition.

In some additional and/or alternative versions of those implementations,the automated assistant 180 can cause the confidence engine 221 togenerate rendering data 221A based on whether the respective confidencelevel associated with the given speech hypothesis 202 satisfies one ormore threshold confidence levels. For example, if the respectiveconfidence level associated with the given speech hypothesis 202satisfies a first threshold confidence level, then the rendering data221A may indicate the spoken response that indicates the action to beperformed by the automated assistant 180 should not be rendered via therendering engine 112. In this example, the confidence engine 221 cancause the fulfillment data 223A to be executed in response todetermining that the given speech hypothesis 202 satisfies the firstthreshold confidence level. As another example, if the respectiveconfidence level associated with the given speech hypothesis 202 failsto satisfy the first threshold confidence level but satisfies a secondthreshold confidence level, then the rendering data 221A may indicatethat the spoken response that indicates the action to be performed bythe automated assistant 180 should be rendered via the rendering engine112. In this example, the confidence engine 221 can cause thefulfillment data 223A to be executed in response to determining that thegiven speech hypothesis 202 fails to satisfy the first thresholdconfidence level but satisfies the second confidence level. This enablesthe user of the client device 110 to correct any misrecognitions inresponse to perceiving the spoken response. As yet another example, ifthe respective confidence level associated with the given speechhypothesis 202 fails to satisfy the first threshold confidence level andfails to satisfy the second threshold confidence level, then therendering data 221A may indicate that the spoken response that indicatesthe action to be performed by the automated assistant 180 should berendered via the rendering engine 112. In this example, the confidenceengine 221 can cause a portion of the fulfillment data 223A to beexecuted in response to determining that the given speech hypothesisfails to satisfy both the first and second threshold confidence levels(e.g., establishing a connection with the third-party service), andcause another portion of the fulfillment data 223A to be executed inresponse to determining that a temporal delay has lapsed. This enablesthe user of the client device 110 to correct any misrecognitions inresponse to perceiving the spoken response, and ensures computationaland/or network resources are not wasted.

Referring back to FIG. 1, the misrecognition engine 140 can include, invarious implementations, similarity engine 141, modification engine 142,and biasing engine 143 as depicted in FIG. 1. For example, with respectto the misrecognition engine 140, assume that the client device 110received a spoken utterance of “send a text message to Ron”, and assumethat the automated assistant 180 selected “send a text message to Don”as the given speech hypothesis corresponding to the spoken utterance(instead of “Ron” as intended by the user) and that the automatedassistant 180 caused the client device 110 to render the spoken responseof “Ok, sending a text message to Don”. Further assume that the clientdevice 110 receives an additional spoken utterance of “No, Don” inresponse to the audible rendering of the spoken response at the clientdevice 110 or an additional client device of the user.

The similarly engine 141 can compare acoustic features of the spokenutterance to additional acoustic features of the additional spokenutterance to identify a portion of the spoken utterance that is similarto an additional portion of the additional spoken utterance. Theacoustic features can include, for example, MFCCs, audio waveforms,and/or other acoustic features of audio data that can be compared.Continuing with the above example, the similarity engine 141 can compareacoustic features of the spoken utterance of “send a text message toRon” to additional acoustic features of the additional spoken utteranceof “No, Ron”, and can identify that the portion of the spoken utterancecorresponding to “Ron” is acoustically similar to the portion of theadditional spoken utterance corresponding to “Ron”.

Further, the automated assistant 180 can cause the speech recognitionengine 120A1 and/or 120A2 to process, using the speech recognitionmodel(s) 120A, at least the similar additional portion of the additionalspoken utterance to generate a plurality of additional speechhypotheses. In determining whether the similar additional portion of theadditional spoken utterance is intended to correct a misrecognition, theplurality of additional speech hypotheses may be restricted to thosethat overlap with the plurality of speech hypotheses generated inprocessing the original spoken utterance (e.g., stored in memory and/orthe speech hypotheses database 120N). For instance, assume the originalterm hypotheses generated in interpreting “Ron” for the original spokenutterance included at least “Don”, “Ron”, “Juan”, and that “Don” was theselected term hypothesis. In determining whether the similar additionalportion of “Ron” is intended to correct the misrecognition, thesimilarity engine may limit term hypotheses considered to “Don”, “Ron”,and “Juan”, and optionally omit “Don” since it was previously selectedas the term hypothesis corresponding to “Ron”. As a result, theautomated assistant 180 can select an additional given speechhypothesis, of the plurality of additional speech hypotheses, to correctthe misrecognition. In some implementations, the automated assistant 180can cause the transcription engine 113 to generate an additionaltranscription based on the additional given speech hypothesis based onthe original transcription and/or the additional given speechhypothesis.

The modification engine 142 can determine an alternate action to beperformed by the automated assistant 180 based on the additional givenspeech hypothesis, and can supplant the original action with thealternate action. The alternate action can include an alternate intentand/or alternate slot value(s) for the original parameter(s) associatedwith the original intent. Continuing with the above example, the “send atext message” intent may remain the same, but the slot value of “Don”for the “recipient” parameter may be supplanted with an alternate slotvalue of “Ron”. The automated assistant 180 may then initiateperformance of the alternate action.

For example, and referring to FIG. 2B, assume the audio data 201corresponding to a spoken utterance of “send a text message to Ron” isreceived at the client device 110, assume that the automated assistant180 selected “send a text message to Don” as the given speech hypothesiscorresponding to the spoken utterance (instead of “Ron” as intended bythe user), assume that the automated assistant 180 caused the clientdevice 110 to render the spoken response of “Ok, sending a text messageto Don”, and assume additional audio data 203 corresponding to anadditional spoken utterance of “No, Ron” is received at the clientdevice 110. In some implementations, the additional audio data 203 canoptionally be filtered to remove any audio data corresponding to thespoken response if the additional audio data 203 is received while thespoken response is being audibly rendered via the speaker(s) of theclient device 110 and/or to remove any other audio data of other humansin the environment (e.g., via voice filtering) or ambient noise.

The similarity engine 141 can identify similar acoustic features 141A inthe audio data 201 and the additional audio data 203. The similaracoustic features 141A can include, for example, acoustic features fromthe audio data 201 corresponding to “Ron” and additional acousticfeatures from the additional audio data 203 corresponding to “Ron”. Theautomated assistant 180 can cause the speech recognition engine 120A1and/or 120A2 to process, using the speech recognition model(s) 120A, theadditional audio data 203 corresponding to the additional acousticfeatures from the additional audio data 203 corresponding to “Ron” togenerate a plurality of additional speech hypotheses. The plurality ofadditional speech hypotheses can optionally be restricted to those thatoverlap with the original plurality of speech hypotheses that weregenerated in processing the audio data 201 (e.g., stored in memoryand/or the speech hypotheses database 120N).

Further, the automated assistant 180 can select an additional givenspeech hypothesis 204, of the plurality of additional speech hypotheses,as corresponding to the additional audio data 203. Notably, theadditional given speech hypothesis 204 is distinct from the given speechhypothesis 202. For instance, since the given speech hypothesis 202corresponded to the misrecognition that includes “Don”, the additionalgiven speech hypothesis 204 may correspond to “Ron” as the userintended. Although the implementations are described herein with respectto identifying the misrecognition based on a first additional spokenutterance, it should be understood that the techniques described hereincan be repeated on subsequent additional utterances until themisrecognition is corrected.

Moreover, assuming that the automated assistant 180 selects theadditional given speech hypothesis 204 corresponding to “Ron”, theautomated assistant 180 can cause the transcription engine 113 togenerate a transcription 202A that corresponds to the given speechhypothesis and an additional transcription 204A that corresponds to theadditional given speech hypothesis. Further, the automated assistant 180can cause the modification engine 142 to determine the alternate actionto be performed by the automated assistant to generate a modification142A. In this example, the alternate action can include the same intent(e.g., “send a text message”), but an alternate slot value of “Ron” tosupplant the slot value of “Don”. The modification 142A can include, forexample, alternate NLU data that modifies the NLU data 222A based on thealternate action. The automated assistant 180 can cause the fulfillmentengine 223 to generate alternate fulfillment data 223B based on themodification 142A. In this manner, misrecognitions can be identified andcorrected in a manner that reduces a length of the human-to-computerdialog between the user and the automated assistant 180, therebyconserving computational and/or network resources.

Referring back to FIG. 1, and in various implementations, the biasingengine 143 can cause the automated assistant 180 to bias subsequentspeech recognition of subsequent spoken utterances. The biasing engine143 can identify term(s) that were misrecognized and/or term(s) thatsupplant the misrecognized term(s), and can store these term(s) in thebiased term(s) database 143A. Continuing with the above example, thebiasing engine 143 can cause the term(s) “Ron” and “Don” to be stored inthe biased term(s) database. Further assume that the client device 110receives a subsequent spoken utterance of “call Ron”. In this example,the biasing engine 143 can cause the automated assistant to bias speechrecognition of the subsequent spoken utterance towards the termhypothesis of “Ron” and/or away from the term hypothesis of “Don”. Insome implementations, the biasing engine 143 can cause the biasingengine 143 to bias the subsequent spoken utterance towards and/or awayfrom the biased term(s) for only the current human-to-computer dialogsession. In some additional and/or alternative implementations, thebiasing engine 143 can cause the biasing engine 143 to bias thesubsequent spoken utterance to and/or away from the biased term(s) forsubsequent human-to-computer dialog sessions. For instance, the biasingmay be limited to a particular user interaction and/or a particularduration of time. By limiting the biasing, the speech misrecognitionsystem 160 can combat over biasing towards and/or away from the biasedterm(s).

In various implementations, the word detection engine 150 can process,using word detection model(s) 150A, audio data to determine whether thespoken utterance and/or the additional spoken utterance includes aparticular term or phrase. The particular term or phrase can include,for example, a hotword or phrase that invokes the automated assistant180 and activates one or more component(s) of the client device 110and/or the speech misrecognition system 160 (e.g., speech recognitionengine 120A1 and/or 120A2), a correction term or phrase that isindicative of a misrecognition, and/or one of the speech hypothesesconsidered in interpreting the original spoken utterance. For example, afirst word detection model, of the word detection model(s) 150A, may bea hotword or phrase detection model that is trained to detect wordsand/or phrases that invoke the automated assistant 180 (e.g.,“Assistant”, “Hey Assistant”, “Okay Assistant”, and so on). Further, asecond word detection model, of the word detection model(s) 140A, may acorrection term or phrase model that is trained to detect words and/orphrases that are indicative of an occurrence of a misrecognition (e.g.,“no”, “wait”, “I said”, and/or any other term or phrase that isindicative of the misrecognition). In some versions of thoseimplementations, the speech misrecognition system 160 may be implementedresponsive to determining a given spoken utterance includes thecorrection term or phrase. As another example, a word detection modeltrained to identify specific term(s) or phrase(s) included in theplurality of speech hypotheses may be included (e.g., acousticallysimilar speech hypotheses).

Turning now to FIG. 3, a flowchart illustrating example method 300 ofsupplanting an action to be performed by an automated assistant with analternate action based on identifying a speech misrecognition isdepicted. For convenience, the operations of the method 300 aredescribed with reference to a system that performs the operations. Thesystem of the method 300 includes one or more processors and/or othercomponent(s) of a computing device. For example, the system of themethod 300 can be client device 110 of FIG. 1, client device 610 ofFIGS. 6A-6C, computing device 710 of FIG. 7, one or more servers, othercomputing devices, and/or any combination thereof. Moreover, whileoperations of the method 300 are shown in a particular order, this isnot meant to be limiting. One or more operations may be reordered,omitted, and/or added.

At block 352, the system receives audio data corresponding to a spokenutterance of a user via microphone(s) of a computing device of a user(e.g., “Play a song by John Doe”, “Turn on the bedroom lights”, etc.).At block 354, the system processes, using a speech recognition model,the audio data corresponding to the spoken utterance to generate aplurality of speech hypotheses based on output generated using thespeech recognition model. The plurality of speech hypotheses caninclude, for example, term hypotheses for each term included in thespoken utterance (e.g., “Doe”, “Roe”, “Row”, “Dough”, etc.) and/ortranscription hypotheses that include various combinations of the termhypotheses (e.g., “Play a song by John Doe”, “Play a song by John Roe”,and so on). Each of the plurality of speech hypotheses may be associatedwith a respective confidence level. For example, each term hypothesismay be associated with a respective confidence level. In someimplementations, block 354 may include optional sub-block 354A. Ifincluded, at sub-block 354A, the system can generate a transcriptioncorresponding to the spoken utterance. For example, the system cangenerate a transcription associated with a given transcriptionhypothesis, of the plurality of transcription hypotheses, that has thehighest respective confidence level.

At block 356, the system determines, based on the plurality of speechhypotheses, an action to be performed by an automated assistant, theaction being associated with a given speech hypothesis of the pluralityof speech hypotheses. The action can include, for example, an intentincluded in the spoken utterance, and one or more slot values for one ormore parameters associated with the intent. For example, assume a spokenutterance of “Play a song by John Doe” is received at the computingdevice of the user, but a transcription hypothesis of “Play a song byJohn Roe” (including term hypothesis “Roe” instead of “Doe” as intendedby the user) is associated with a highest confidence level. In thisexample, the action may include the intent of “Play a song” (e.g.,represented by term hypotheses “Play”, “a”, “song”) and a slot value of“John Doe” for an “artist” parameter (e.g., represented by termhypotheses “John”, “Doe”).

At block 358, the system causes the computing device of the user torender an indication of the action to be performed by the automatedassistant. In some implementations, the indication of the action to beperformed can be audibly rendered at the computing device of the user oran additional computing device of the user. The audible indication ofthe action to be performed can include, for example, an audible ding orchirp that indicates the automated assistant received the spokenutterance, a spoken response that indicates the action to be performedby the automated assistant (e.g., “Ok, playing a song by John Roe”),and/or other audible indications. In some additional and/or alternativeimplementations, the indication of the action to be performed can bevisually rendered at the client device of the user or the additionalclient device of the user. The visual indication of the action to beperformed can include, for example, displaying a transcriptioncorresponding to the determined action, displaying one or more controlelements associated with the action, and/or displaying other visualindications.

At block 360, the system determines whether additional audio datacorresponding to an additional spoken utterance is received via themicrophone(s) of the computing device of the user. The additional audiodata corresponding to the additional spoken utterance may be receivedresponsive to causing the computing device of the user or the additionalcomputing device of the user to render the indication of the action tobe performed by the automated assistant. In implementations where arespective confidence level associated with the given speech hypothesis(e.g., the transcription hypothesis and/or term hypotheses thereof)associated with the action to be performed fail to satisfy a thresholdconfidence level, one or more components of the computing device of theuser may be kept active in anticipation of receiving the additionalaudio data. For example, speech recognition may be kept active such thatthe user need not include a trigger term or phrase in the additionalspoken utterance to activate speech recognition. As another example,word detection may be kept active such that a word detection model isutilized to determine whether a specific term or phrase is included inthe additional audio data (e.g., correction term(s) or phrase(s),different speech hypotheses, and/or other term(s) or phrase(s)). Inimplementations where a respective confidence level associated with thegiven speech hypothesis (e.g., the transcription hypothesis and/or termhypotheses thereof) associated with the action to be performed satisfiesthe threshold confidence level, one or more components of the computingdevice of the user may be deactivated. For example, speech recognitionmay be deactivated such that the user may need to include a trigger termor phrase in the additional spoken utterance to activate speechrecognition. If, at an iteration of block 360, the system determines noadditional audio data corresponding to an additional spoken utterance isreceived, then the system may proceed to block 368. Block 368 isdescribed in detail below. If, at an iteration of block 360, the systemdetermines that additional audio data corresponding to an additionalspoken utterance is received, then the system may proceed to block 362.

At block 362, the system processes the additional audio datacorresponding to the additional spoken utterance. In someimplementations, the system can analyze acoustic features of theadditional spoken utterance, a waveform of the additional spokenutterance, and/or other audio-based representations of the additionalaudio data. In some additional and/or alternative versions of thoseimplementations, the system can process, using the speech recognitionmodel(s), the additional audio data to generate a plurality ofadditional speech hypotheses (e.g., additional transcription hypothesesand/or additional term hypotheses). The plurality of additional speechhypotheses may be restricted to those that overlap with the prior speechhypotheses considered in processing the additional audio data, and canoptionally omit the given speech hypotheses selected as corresponding tothe prior spoken utterance received at block 352.

At block 364, the system determines whether at least a portion of thespoken utterance is similar to at least an additional portion of theadditional spoken utterance. In some implementations, the system cancompare acoustic features, of the audio data corresponding to the spokenutterance, to additional acoustic features, of the additional audio datacorresponding to the additional spoken utterance. For example, thesystem can compare the waveforms of the spoken utterance and theadditional spoken utterance, MFCCs of the spoken utterance and theadditional spoken utterance, mel filterbank features of the of thespoken utterance and the additional spoken utterance, and/or other ofthe spoken utterance and the additional spoken utterance. In someadditional and/or alternative implementations, the system can compare atranscription corresponding to the spoken utterance to an additionaltranscription corresponding to the additional spoken utterance. Theadditional transcription may be generated based on an additional giventranscription hypothesis of the plurality of additional transcriptionhypotheses.

For example, and referring now to FIG. 4, a flowchart illustrating anexample method 364A of determining similarity between at least a portionof the spoken utterance and at least an additional portion of theadditional spoken utterance for the method of FIG. 3 is depicted. Atblock 452, the system compares acoustic features, of the audio datacorresponding to the spoken utterance, to additional acoustic features,of the additional audio data corresponding to the additional spokenutterance. At block 454, the system identifies, based on comparing theacoustic features to the additional acoustic features, at least aportion of the spoken utterance that is similar to an additional portionof the additional spoken utterance. For instance, assume the originalspoken utterance included the term “Doe”, and assume speech recognitionmisrecognized “Doe” as “Roe”. Further assume the additional spokenutterance included the term “Doe” again. In these instances, theacoustic features indicate that the portion of the original spokenutterance corresponding to “Doe” is similar to the portion of theadditional spoken utterance corresponding to “Doe”.

At block 456, the system determines whether the similarity between theportion of the spoken utterance that is similar to the additionalportion of the additional spoken utterance satisfies a similaritythreshold. If, at an iteration of block 456, the system determines thesimilarity between the portion of the spoken utterance that is similarto the additional portion of the additional spoken utterance fails tosatisfy the similarity threshold, then the system may proceed to block368. Block 368 is described in detail below. Notably, the additionalspoken utterance may correct an action to be performed by the automatedassistant, but the correction may not be due to a misrecognition. Forinstance, assume the original spoken utterance included the term “Doe”,and assume speech recognition misrecognized “Doe” as “Roe”. Furtherassume the additional spoken utterance included the term “Smith” insteadof “Doe” again. In these instances, the acoustic features may notindicate that the portion of the original spoken utterance correspondingto “Doe” is similar to the portion of the additional spoken utterancecorresponding to “Smith”. Further, a distinct action may be performed bythe automated assistant based on the additional audio data, but thedistinct action is not an alternate action in that it is very unlikely aterm hypothesis for “Smith” or transcription hypothesis including theterm hypothesis “Smith” was generated in originally processing theportion of the spoken utterance corresponding to “Doe”. If, at aniteration of block 456, the system determines the similarity between theportion of the spoken utterance that is similar to the additionalportion of the additional spoken utterance satisfies the similaritythreshold, then the system may proceed to block 458.

At block 458, the system identifies an alternate speech hypothesis, ofthe plurality of speech hypotheses, based on the additional audio data.The alternate speech hypothesis may include an alternate transcriptionhypothesis and/or alternate term hypotheses generated based onprocessing the additional audio data using the speech recognitionmodel(s). Further, the alternate speech hypothesis may be a givenadditional speech hypothesis, of the plurality of additional speechhypotheses, that overlaps with the original plurality of speechhypotheses. In some implementations, block 458 may include optionalsub-block 458A. If included, at sub-block 458A, the system may generatean additional transcription corresponding to the additional spokenutterance. The additional transcription may be based on the alternatespeech hypothesis, and optionally the original speech hypothesis. Forexample, the additional transcription may be based on an alternatetranscription hypothesis, a plurality of alternate term hypotheses,and/or an alternate term hypothesis and the original transcriptionhypothesis.

At block 460, the system identifies an alternate action, in lieu of theaction, to be performed by the automated assistant, the alternate actionbeing associated with the alternate speech hypothesis. The alternateaction can include an alternate intent determined based on theadditional spoken utterance and/or alternate slot value(s) determinedbased on the additional spoken utterance. For example, assume theoriginal spoken utterance included the term “Doe” as a slot value for aparameter, and assume speech recognition misrecognized “Doe” as “Roe”.Further assume the additional spoken utterance included the term “Doe”again. In these instances, the alternate slot value “Doe” can beidentified as part of the alternate action (instead of “Roe”). Thesystem may proceed to block 366.

Returning back to FIG. 3, at block 366, the system supplants the actionwith an alternate action to be performed by the automated assistant.Continuing with the above example, the slot value of “Doe” can supplantthe slot value of “Roe”, resulting in the alternate action taking placeof the action, such that the automated assistant will perform thealternate action rather than the original action.

At block 368, the system causes the automated assistant to initiateperformance of the action, the alternate action, and/or the distinctaction. In implementations where no additional spoken utterance isreceived (e.g., “NO” branch from block 360), the system can cause theautomated assistant to initiate performance of the action determinedbased on the original spoken utterance. In implementations where theadditional spoken utterance is received and the additional spokenutterance corrects a misrecognition (e.g., form block 366), then thesystem can cause the automated assistant to initiate performance of thealternate action. In implementations where the additional spokenutterance is received but the additional spoken utterance modifies theaction without correcting a misrecognition (e.g., from block 364), thenthe system can cause the automated assistant to initiate performance ofthe distinct action. In some implementations, block 368 may includeoptional sub-block 368A. If included, at sub-block 368A, the system maybias processing of further spoken utterances based on the supplanting.For example, the system may cause speech recognition to be biasedtowards terms that were misrecognized and/or biased away from theincorrect term for the remainder of the dialog session and/or duringsubsequent dialog sessions.

Turning now to FIG. 5, a flowchart illustrating example method 400 ofdetermining whether to render a spoken response that indicates an actionto be performed by an automated assistant, and determining when toinitiate performance of the action by the automated assistant isdepicted. For convenience, the operations of the method 400 aredescribed with reference to a system that performs the operations. Thesystem of the method 400 includes one or more processors and/or othercomponent(s) of a computing device. For example, the system of themethod 300 can be client device 110 of FIG. 1, client device 610 ofFIGS. 6A-6C, computing device 710 of FIG. 7, one or more servers, othercomputing devices, and/or any combination thereof. Moreover, whileoperations of the method 400 are shown in a particular order, this isnot meant to be limiting. One or more operations may be reordered,omitted, and/or added.

At block 552, the system receives audio data corresponding to a spokenutterance of a user via microphone(s) of a computing device of a user(e.g., “Play a song by John Doe”, “Turn on the bedroom lights”, etc.).At block 554, the system processes, using a speech recognition model,the audio data corresponding to the spoken utterance to generate atranscription of the spoken utterance and at least one confidence levelassociated with the transcription. The system can generate a pluralityof speech hypotheses ( ) based on output generated using the speechrecognition model. The plurality of speech hypotheses can include, forexample, term hypotheses for each term included in the spoken utterance(e.g., “Doe”, “Roe”, “Row”, “Dough”, etc.) and/or transcriptionhypotheses that include various combinations of the term hypotheses(e.g., “Play a song by John Doe”, “Play a song by John Roe”, and so on).Each of the plurality of speech hypotheses may be associated with arespective confidence level. For example, each term hypothesis and/ortranscription hypothesis may be associated with a respective confidencelevel. In various implementations, the transcription of the spokenutterance corresponds to the transcription hypothesis having the highestconfidence level.

At block 556, the system determines, based on the transcription, anaction to be performed by an automated assistant. The action caninclude, for example, an intent included in the spoken utterance, andone or more slot values for one or more parameters associated with theintent. For example, assume a spoken utterance of “Play a song by JohnDoe” is received at the computing device of the user, but thetranscription hypothesis (and the corresponding transcription) of “Playa song by John Roe” (including term hypothesis “Roe” instead of “Doe” asintended by the user) is associated with the highest confidence level.In this example, the action may include the intent of “Play a song”(e.g., represented by term hypotheses “Play”, “a”, “song”) and a slotvalue of “John Doe” for an “artist” parameter (e.g., represented by termhypotheses “John”, “Doe”).

At block 558, the system determines whether the at least one confidencelevel associated with the transcription satisfies a first thresholdconfidence level. If, at an iteration of block 558, the systemdetermines the at least one confidence level associated with thetranscription satisfies the first threshold confidence level, then thesystem may proceed to block 568. In implementations where the systemproceeds to block 568 from the “YES” branch of block 558, at block 568,the system can cause the automated assistant to fully perform the actionwithout causing the automated assistant to render a spoken response thatindicates the action to be performed. In other words, if the system ishighly confident the transcription corresponds to the spoken utterance,then the system can cause the automated assistant to fully perform theaction without repeating the action to the user. For example, assume aspoken utterance of “Turn on the kitchen lights” is received at thecomputing device of the user, and the transcription hypothesis (and thecorresponding transcription) of “Turn on the kitchen lights” isassociated with a highest respective confidence level that satisfies thefirst threshold confidence level. In this example, the system can causethe automated assistant to establish a connection with the kitchenlights, generate a request for the kitchen lights to transition to an“on” state, and transmit the request to the kitchen lights withoutrendering any spoken response. If, at an iteration of block 558, thesystem determines the at least one confidence level associated with thetranscription fails to satisfy the first threshold confidence level,then the system may proceed to block 560.

At block 560, the system causes the computing device to render a spokenresponse that indicates the action to be performed by the automatedassistant. For example, assume a spoken utterance of “Play a song byJohn Doe” is received at the computing device of the user, and thetranscription hypothesis (and the corresponding transcription) of “Playa song by John Doe” is associated with a highest respective confidencelevel that fails to satisfy the first threshold confidence level. Inthis example, the system can cause the automated assistant to render thespoken response of “Okay, playing a song by John Doe” to enable the useran opportunity to correct any potential misrecognitions.

At block 562, the system determines whether the at least one confidencelevel associated with the transcription satisfies a second thresholdconfidence level. If, at an iteration of block 562, the systemdetermines the at least one confidence level associated with thetranscription satisfies the second threshold confidence level, then thesystem may proceed to block 568. In implementations where the systemproceeds to block 568 from the “YES” branch of block 562, at block 568,the system can cause the automated assistant to initiate performance ofthe action subsequent to rendering the spoken response that indicatesthe action to be performed. Continuing with the above example, assumethe transcription hypothesis (and the corresponding transcription) of“Play a song by John Doe” is associated with a highest respectiveconfidence level that fails to satisfy the first threshold confidencelevel, but satisfies the second threshold confidence level. In thisexample, the system can cause the automated assistant to establish aconnection with a music streaming service, generate a request for a“song” by “John Doe”, and send the request to the music streamingservice for the “song” by “John Doe” subsequent to rendering the spokenresponse. However, the music may only be buffered without playing untilit is determined that the user does not correct a possiblemisrecognition. If, at an iteration of block 562, the system determinesthe at least one confidence level associated with the transcriptionfails to satisfy the second threshold confidence level, then the systemmay proceed to block 564.

At block 564, the system determines a temporal delay associated withinitiating performance of the action. In some implementations, thetemporal delay can be pre-defined (e.g., one second, two seconds, threeseconds, and so on). In some additional and/or alternativeimplementations, the temporal delay can be based on the respectiveconfidence level associated with the transcription speech hypothesis.For example, if the respective confidence level is within a thresholdrange of the second threshold confidence level, then the temporal delaymay be a first duration. However, if the respective confidence level isnot within the threshold range of the second threshold confidence level,then the temporal delay may be a second duration that is longer than thefirst duration. In various implementations, the system can cause theautomated assistant to establish a connection with a service associatedwith the intent of the action and generate a request to transmit to theservice, but withhold sending of the request.

At block 566, the system determines whether the temporal delayassociated with initiating performance of the action has lapsed. If, atan iteration of block 566, the system determines the temporal delay hasnot lapsed, then the system may continually monitor for lapse of thetemporal delay at block 566. If, at an iteration of block 566, thesystem determines the temporal delay has lapsed, then the system mayproceed to block 568. At block 568, the system causes the automatedassistant to initiate performance of the action. In implementationswhere the system proceeds to block 568 from the “YES” branch of block566, at block 568, the system can cause the automated assistant to sendthe request that was previously withheld.

In various implementations, the system may receive additional audiodata. In these implementations of the method 500 of FIG. 5, the systemmay utilize the methods 300 and 364A of FIGS. 3 and 4 to determinewhether the additional audio data corrects a misrecognition, and, if so,how to determine the alternate action that corrects the misrecognition.

Turning now to FIGS. 6A, 6B, and 6C, various non-limiting examples ofdialog sessions between a user 601 of a computing device 610 and anautomated assistant accessible at the computing device 610 are depicted.The automated assistant can implement a system locally at the computingdevice 610 and/or remotely at one or more servers in communication withthe computing device 610 over network(s) (e.g., network(s) 190 ofFIG. 1) to identify and/or correct misrecognitions (e.g., speechmisrecognition system 160 of FIG. 1). The computing device 610 mayinclude microphone(s) to generate audio data based on spoken utterancesand/or other audible input, speaker(s) to audibly render synthesizedspeech and/or other audible output, and/or a display 680 to visuallyrender transcriptions and/or other visual output. Although the computingdevice 610 depicted in FIGS. 6A, 6B, and 6C is a standalone computingdevice having a display, it should be understood that is for the sake ofexample and is not meant to be limiting. For example, the computingdevice 610 may be a mobile device, a standalone speaker without adisplay, a home automation device, a vehicular system, a laptop, acomputer, and/or any other device capable of engaging in ahuman-to-computer dialog session with the user 601.

Referring specifically to FIG. 6A, assume the computing device 610receives a spoken utterance 652A of “Hey assistant, play a song by JohnDoe” from the user 601. The automated assistant can cause the computingdevice 610 (and/or a remote system) to process, using speech recognitionmodel(s), audio data that corresponds to the spoken utterance togenerate a plurality of speech hypotheses and respective confidencelevels associated with each of the plurality of speech hypotheses. Theplurality of speech hypotheses can include, for example, transcriptionhypotheses and/or term hypotheses. For example, assume the automatedassistant is highly confident in term hypotheses corresponding to“play”, “a”, “song”, “by”, and “John”. However, further assume theautomated assistant is not confident in a term hypothesis correspondingto “Doe”. For instance, table 620A includes a table of term hypothesescorresponding to “Doe” for the spoken utterance, and respectiveconfidence level associated with each of the term hypothesescorresponding to “Doe”. The table 620A includes a first term hypothesisof “Roe” associated with a first probability of 0.55, a second termhypothesis of “Doe” associated with a second probability of 0.35, and athird term hypothesis of “Row” associated with a third probability of0.10. This may result in corresponding transcription hypotheses of “playa song by John Roe” that is associated with the first probability, “playa song by John Doe” that is associated with the second probability, and“play a song by John Row” that is associated with the third probability.Although particular term hypotheses are depicted in the table 620A asbeing associated with particular probabilities, it should be understoodthat the table 620A is provided for the sake of example and is not meantto be limiting.

Further assume that the automated assistant determines, based on therespective confidence levels associated with each of the plurality ofterm hypotheses, that “Doe” in the spoken utterance 652A corresponds tothe term hypothesis “Roe” as indicated by the table 620A. As a result,an action to be performed includes an intent of “play music”, a slotvalue of “John Roe” for an “artist” parameter (and optionally aparticular song for a “song” parameter if specified). The action can beassociated with a given speech hypothesis one the plurality of speechhypotheses. Notably, the automated assistant incorrectly determined theslot value of “John Roe” for the “artist” parameter even though the user601 intended the slot value of “John Doe”. In various implementations,the automated assistant can render an indication of the action to beperformed at the computing device 610. For example, in response toreceiving the spoken utterance 652A, the automated assistant can causethe computing device 610 to audibly render a spoken response 654A of“Okay, playing a song by John Roe”. The automated assistant canoptionally cause the computing device to visually render a transcriptioncorresponding to the spoken response 654A via the display 680.

In some implementations, the computing device 610 may receive anadditional spoken utterance. In some versions of those implementations,the additional spoken utterance may correct a misrecognition inprocessing of the original spoken utterance 652A. The automatedassistant can identify the misrecognition based on processing theadditional spoken utterance 656A. For example, assume the additionalspoken utterance 656A is received at the computing device 610 inresponse to the computing device 610 audibly rendering the spokenresponse 654A. In this example, the automated assistant can processacoustic features and/or textual features of the additional spokenutterance 656A to determine whether a portion of the additional spokenutterance 656A is intended to correct a portion of the interpretation ofthe spoken utterance 652A. For instance, the automated assistant canprocess the additional spoken utterance 656A to determine that “JohnDoe” from the additional spoken utterance 656A is acoustically similarto “John Doe” from the original spoken utterance 652A. As anotherexample, the automated assistant can identify correction terms orphrases included in the spoken utterance (e.g. “No”, “I said”, “What Isaid is”, and/or other terms that are indicative of the misrecognition).In response to determining that the additional spoken utterance correctsthe misrecognition, the automated assistant can cause the originalaction to be cancelled if initiated and/or being performed (e.g., stopplaying the song by John Roe if it had started). In someimplementations, the automated assistant may keep component(s) of thecomputing device 610 active based on the confidence level associatedwith the given speech hypothesis that is selected as corresponding tothe spoken utterance 652A, whereas in other implementations, theautomated assistant may deactivate the component(s) of the computingdevice 610 based on the confidence level. The component(s) can include,for example, hotword recognition, speech recognition, NLU, fulfillment,and/or other components of the computing device 610.

Further, the automated assistant can process, using the speechrecognition model(s), additional audio data corresponding to theadditional spoken utterance 656A to generate a plurality of additionalspeech hypotheses. The plurality of additional speech hypotheses can berestricted to those that overlap with the original plurality of speechhypotheses generated in processing the spoken utterance 652A, andoptionally omit the given speech hypothesis, of the plurality of speechhypotheses, that was selected as corresponding to the spoken utterance652A. For example, assume the automated assistant is highly confident interm hypotheses corresponding to “No” and “John”. However, furtherassume the automated assistant is not confident in a term hypothesiscorresponding to “Doe”. For instance, table 630A includes a table ofterm hypotheses corresponding to “Doe” for the spoken utterance, andrespective confidence level associated with each of the term hypothesescorresponding to “Doe”. Notably, the table 630A includes the same termhypotheses as the table 620A. However, since the automated assistantpreviously selected the term “Roe” as corresponding to “Doe” based onthe term hypotheses in table the table 620A and the automated assistantdetermined the additional spoken utterance 656A is intended to correct amisrecognition, the automated assistant may select the next termhypothesis with the highest confidence level, such as “Doe”.

In these implementations, and with respect to the action, the automatedassistant can supplant the slot value of “John Roe” for the artistparameter with an alternate slot value of “John Doe”, resulting in analternate action to be performed by the automated assistant. In someversions of these implementations, the automated assistant can cause thecomputing device 610 to audibly render a further spoken response 658A of“Right, John Doe” that acknowledges the correction of themisrecognition, and can perform the alternate action as indicated by660A.

In some additional and/or alternative versions of those implementations,the additional spoken utterance may indicate a distinct action to beperformed despite a misrecognition in processing of the original spokenutterance 652A. For example, and referring specifically to FIG. 6B,assume an additional spoken utterance 656B is received at the computingdevice 610 in response to the computing device 610 audibly rendering thespoken response 654A. However, in contrast with FIG. 6A, assume theadditional spoken utterance 656B corresponds to “Wait, John Smith”. Inthis example, the automated assistant can process acoustic featuresand/or textual features of the additional spoken utterance 656B todetermine whether a portion of the additional spoken utterance 656A isintended to correct a portion of the interpretation of the spokenutterance 652B. For instance, the automated assistant can process theadditional spoken utterance 656B to determine that “John Smith” from theadditional spoken utterance 656B is not acoustically similar to “JohnDoe” from the original spoken utterance 652B.

Further, the automated assistant can process, using the speechrecognition model(s), additional audio data corresponding to theadditional spoken utterance 656B to generate a plurality of additionalspeech hypotheses. The plurality of additional speech hypotheses can berestricted to those that overlap with the original plurality of speechhypotheses generated in processing the spoken utterance 652B, andoptionally omit the given speech hypothesis, of the plurality of speechhypotheses, that was selected as corresponding to the spoken utterance652B. For example, assume the automated assistant is highly confident interm hypotheses corresponding to “Wait” and “John”. However, inprocessing the additional audio data, the automated assistant may notidentify any overlapping speech hypotheses (e.g., as indicated by thestrikethrough term hypotheses in table 630B).

In these implementations, and with respect to the action, the automatedassistant can determine a distinct action to be performed by theautomated assistant. As shown in FIG. 6B, the automated assistant canstill utilize the “play a song” intent from the original spokenutterance 652, but utilize a distinct slot value of “John Smith” for the“artist” parameter. In some versions of these implementations, theautomated assistant can cause the computing device 610 to audibly rendera further spoken response 658B of “Okay, John Smith” that acknowledgesthe distinct action, and can perform the distinct action as indicated by660B.

In various implementations, the automated assistant can bias futurespeech recognition towards the alternate speech hypothesis, and awayfrom the originally selected speech hypothesis when a misrecognition iscorrected. For example, in the dialog of FIG. 6A, if a subsequent spokenutterance is received at the client device 610 (e.g., during the currentdialog session and/or during a subsequent dialog session) where “Doe” isa term hypothesis and/or “Roe” is a term hypothesis, then the speechrecognition can be biased towards the term hypothesis for “Doe” and/oraway from the term hypothesis for “Roe”. In contrast, in the dialog ofFIG. 6B, if a subsequent spoken utterance is received at the clientdevice 610 (e.g., during the current dialog session and/or during asubsequent dialog session) where “Smith” is a term hypothesis, then thespeech recognition may not be biased towards or away from any terms eventhough there was a misrecognition (e.g., as indicated by “Roe” in thespoken response 654B despite the spoken utterance 652B including “Doe”).

Although FIGS. 6A and 6B are described herein with respect to theautomated assistant causing actions to be performed via the computingdevice 610, it should be understood that is for the sake of example andis not meant to be limiting. Moreover, the techniques described hereincan be utilized to correct any misrecognitions. For example, referringspecifically to FIG. 6C, the techniques described herein can also beutilized to control home automation devices. For instance, assume thecomputing device 610 receives a spoken utterance 652C of “Hey assistant,turn on the lights in Red's room”, where the “lights” are associatedwith “Red's room” as defined in a device topology of a smart home of theuser 601 of the computing device, and where “Red's room” corresponds toa “semantic identifier” parameter associated with an intent of “turn onthe lights”. Further assume the automated assistant processes the spokenutterance 652C to generate a plurality of speech hypotheses, includingthe term hypotheses included in the table 620C. In this example, theautomated assistant may be highly confident with term hypothesescorresponding to “turn”, “on”, “the”, “lights”, and “room”. In response,assume the automated assistant selects “bed” over “Red” based on table620C, and causes the computing device 610 to audibly render a spokenresponse 654C of “Okay, turning on the lights in the bedroom”, and turnson the lights in the bedroom. However, assume the user 601 provides anadditional spoken utterance 656C of “I said Red's room” to correct themisrecognition. In response, the automated assistant can turn off thelights that were turned on in the bedroom, and can turn on the lights inRed's room as originally intended by the user 601 based on an alternateaction determined based on alternate speech hypothesis of table 630C.

Turning now to FIG. 7, is a block diagram of an example computing device710 that may optionally be utilized to perform one or more aspects oftechniques described herein is depicted. In some implementations, one ormore of a client device, cloud-based automated assistant component(s),and/or other component(s) may comprise one or more components of theexample computing device 710.

Computing device 710 typically includes at least one processor 714 whichcommunicates with a number of peripheral devices via bus subsystem 712.These peripheral devices may include a storage subsystem 724, including,for example, a memory subsystem 725 and a file storage subsystem 726,user interface output devices 720, user interface input devices 722, anda network interface subsystem 716. The input and output devices allowuser interaction with computing device 710. Network interface subsystem716 provides an interface to outside networks and is coupled tocorresponding interface devices in other computing devices.

User interface input devices 722 may include a keyboard, pointingdevices such as a mouse, trackball, touchpad, or graphics tablet, ascanner, a touchscreen incorporated into the display, audio inputdevices such as voice recognition systems, microphones, and/or othertypes of input devices. In general, use of the term “input device” isintended to include all possible types of devices and ways to inputinformation into computing device 710 or onto a communication network.

User interface output devices 720 may include a display subsystem, aprinter, a fax machine, or non-visual displays such as audio outputdevices. The display subsystem may include a cathode ray tube (CRT), aflat-panel device such as a liquid crystal display (LCD), a projectiondevice, or some other mechanism for creating a visible image. Thedisplay subsystem may also provide non-visual display such as via audiooutput devices. In general, use of the term “output device” is intendedto include all possible types of devices and ways to output informationfrom computing device 710 to the user or to another machine or computingdevice.

Storage subsystem 724 stores programming and data constructs thatprovide the functionality of some or all of the modules describedherein. For example, the storage subsystem 724 may include the logic toperform selected aspects of the methods disclosed herein, as well as toimplement various components depicted in FIG. 1.

These software modules are generally executed by processor 714 alone orin combination with other processors. Memory 725 used in the storagesubsystem 724 can include a number of memories including a main randomaccess memory (RAM) 730 for storage of instructions and data duringprogram execution and a read only memory (ROM) 732 in which fixedinstructions are stored. A file storage subsystem 726 can providepersistent storage for program and data files, and may include a harddisk drive, a floppy disk drive along with associated removable media, aCD-ROM drive, an optical drive, or removable media cartridges. Themodules implementing the functionality of certain implementations may bestored by file storage subsystem 726 in the storage subsystem 724, or inother machines accessible by the processor(s) 714.

Bus subsystem 712 provides a mechanism for letting the variouscomponents and subsystems of computing device 710 communicate with eachother as intended. Although bus subsystem 712 is shown schematically asa single bus, alternative implementations of the bus subsystem 712 mayuse multiple busses.

Computing device 710 can be of varying types including a workstation,server, computing cluster, blade server, server farm, or any other dataprocessing system or computing device. Due to the ever-changing natureof computers and networks, the description of computing device 710depicted in FIG. 7 is intended only as a specific example for purposesof illustrating some implementations. Many other configurations ofcomputing device 710 are possible having more or fewer components thanthe computing device depicted in FIG. 7.

In situations in which the systems described herein collect or otherwisemonitor personal information about users, or may make use of personaland/or monitored information), the users may be provided with anopportunity to control whether programs or features collect userinformation (e.g., information about a user's social network, socialactions or activities, profession, a user's preferences, or a user'scurrent geographic location), or to control whether and/or how toreceive content from the content server that may be more relevant to theuser. Also, certain data may be treated in one or more ways before it isstored or used, so that personal identifiable information is removed.For example, a user's identity may be treated so that no personalidentifiable information can be determined for the user, or a user'sgeographic location may be generalized where geographic locationinformation is obtained (such as to a city, ZIP code, or state level),so that a particular geographic location of a user cannot be determined.Thus, the user may have control over how information is collected aboutthe user and/or used.

In some implementations, a method implemented by one or more processorsis provided, and includes receiving audio data corresponding to a spokenutterance of a user, the audio data being generated by one or moremicrophones of a computing device of the user; processing the audio datacorresponding to the spoken utterance to generate a plurality of speechhypotheses; determining, based on the plurality of speech hypotheses, anaction to be performed by an automated assistant, the action beingassociated with a given speech hypothesis of the plurality of speechhypotheses; causing the computing device of the user to render anindication of the action to be performed; in response to the computingdevice rendering the indication of the action to be performed, receivingadditional audio data corresponding to an additional spoken utterance ofthe user; processing the additional audio data corresponding to theadditional spoken utterance to determine that at least a portion of thespoken utterance is similar to an additional portion of the additionalspoken utterance; in response to determining that at least the portionof the spoken utterance is similar to the additional portion of theadditional spoken utterance, supplanting the action with an alternateaction to be performed by the automated assistant, the alternate actionbeing associated with an alternate speech hypothesis of the plurality ofspeech hypotheses; and causing the automated assistant to initiateperformance of the alternate action.

These and other implementations of technology disclosed herein canoptionally include one or more of the following features.

In some implementations, processing the additional audio datacorresponding to the additional spoken utterance to determine that atleast the portion of the spoken utterance is similar to the additionalportion of the additional spoken utterance may include comparingacoustic features of the audio data corresponding to the spokenutterance to additional acoustic features of the additional audio datacorresponding to the additional spoken utterance; and identifying, basedon comparing the acoustic features and the additional acoustic features,at least the portion of the spoken utterance that is similar to theadditional portion of the additional spoken utterance.

In some versions of those implementations, the method may furtherinclude generating, based on the given speech hypothesis, atranscription corresponding to the spoken utterance, the transcriptionincluding at least the portion of the spoken utterance; generating,based on the alternate speech hypothesis, a transcription correspondingto the additional spoken utterance, the additional transcriptionincluding at least the additional portion of the additional spokenutterance; comparing the transcription corresponding to the spokenutterance to the additional transcription corresponding to theadditional spoken utterance; and identifying, based on comparing thetranscription and the additional transcription, the alternate action tobe performed by the automated assistant.

In some implementations, the method may further include generating,based on the given speech hypothesis, a transcription corresponding tothe spoken utterance, the transcription including at least the portionof the spoken utterance; generating, based on the alternate speechhypothesis, a transcription corresponding to the additional spokenutterance, the additional transcription including at least theadditional portion of the additional spoken utterance; comparing thetranscription corresponding to the spoken utterance to the additionaltranscription corresponding to the additional spoken utterance; andidentifying, based on comparing the transcription and the additionaltranscription, the alternate action to be performed by the automatedassistant.

In some implementations, the spoken utterance and the additional spokenutterance may be received during a dialog session between the user andthe automated assistant, the method may further include one or more of:biasing, during a subsequent dialog session, processing of furtheradditional audio data corresponding to a further additional spokenutterance towards the alternate action; or biasing, during thesubsequent dialog session, processing of further additional audio datacorresponding to a further additional spoken utterance away from theaction.

In some implementations, processing the audio data corresponding to thespoken utterance to generate the speech hypotheses may includedetermining whether a respective confidence level associated with one ormore of the speech hypotheses satisfies a threshold confidence level.

In some versions of those implementations, the method may furtherinclude, in response to determining that the respective confidence levelassociated with one or more of the speech hypotheses fails to satisfythe threshold confidence level: keeping one or more components of thecomputing device active in anticipation of receiving the additionalaudio data corresponding to the additional spoken utterance of the user.In some additional and/or alternative versions of those implementations,the method may further include, in response to determining that theconfidence level associated with the one or more speech hypothesessatisfies the threshold confidence level: deactivating one or morecomponents of the computing device of the user prior to receiving theadditional audio data corresponding to the additional spoken utteranceof the user. In yet further versions of those implementations, theadditional audio data corresponding to the additional spoken utteranceof the user may include a trigger term or phrase to activate the one ormore components of the computing device of the user to process theadditional audio data corresponding to the additional spoken utteranceof the user.

In some versions of those implementations, the method may furtherinclude, in response to determining the respective confidence levelassociated with one or more of the speech hypotheses fails to satisfythe threshold confidence level: determining a temporal delay prior tofully performing the action by the automated assistant. In some furtherversions of those implementations, the method may further include, priorto lapse of the temporal delay, receiving the additional audio datacorresponding to the additional spoken utterance of the user.

In some implementations, the method may further include determining tosupplant the action to be performed by the automated assistant toinclude the alternate action based on the additional audio datacorresponding to the additional spoken utterance including a correctionterm or phrase.

In some implementations, causing the computing device of the user torender the indication of the action to be performed by the automatedassistant may include one or more of: causing the computing device ofthe user to visually render the transcription of the spoken utterance;or causing the computing device of the user to audibly rendersynthesized speech corresponding to the transcription of the spokenutterance.

In some implementations, a method implemented by one or more processorsis provided, and includes receiving audio data corresponding to a spokenutterance of a user, the audio data being generated by one or moremicrophones of a computing device of the user; processing, using aspeech recognition model, the audio data corresponding to the spokenutterance to generate a transcription of the utterance, and at least oneconfidence level associated with the transcription; determining, basedon the transcription, an action to be performed by an automatedassistant; when the confidence level associated with the transcriptionsatisfies a threshold confidence level: causing the automated assistantto initiate full performance of the action without rendering, beforeinitiating the full performance of the action, a spoken response thatindicates the action to be performed by the automated assistant; andwhen the respective confidence level associated with the transcriptionfails to satisfy the threshold confidence level: causing the automatedassistant to render a spoken response that indicates the action to beperformed by the automated assistant; and causing the automatedassistant to fully perform the action subsequent to rendering the spokenresponse that indicates the action to be performed by the automatedassistant.

These and other implementations of technology disclosed herein canoptionally include one or more of the following features.

In some implementations, the threshold confidence level is a firstthreshold confidence level, and the method may further include, when theconfidence level associated with the transcription fails to satisfy thefirst threshold confidence level, and also fails to satisfy a secondthreshold confidence level: causing the automated assistant to renderthe spoken response that indicates the action to be performed by theautomated assistant; determining a temporal delay associated withinitiating performance of the action by the automated assistant; and inresponse to determining that the temporal delay has lapsed, causing theautomated assistant to fully perform the action. In some versions ofthose implementations, causing the automated assistant to render thespoken response that indicates the action to be performed by theautomated assistant and causing the automated assistant to fully performthe action subsequent to rendering the spoken response that indicatesthe action to be performed by the automated assistant are performed whenthe confidence level associated with the transcription fails to satisfythe first threshold confidence level, but satisfies the second thresholdconfidence level.

In some implementations, when the respective confidence level associatedwith the given speech hypotheses satisfies the threshold confidencelevel, the method may further include deactivating one or morecomponents of the computing device of the user prior to receivingadditional audio data corresponding to an additional spoken utterance ofthe user. In some versions of those implementations, when the respectiveconfidence level associated with the given speech hypotheses fails tosatisfy the threshold confidence level, the method may further includekeeping one or more components of the computing device active inanticipation of receiving additional audio data corresponding to theadditional spoken utterance of the user.

In some implementations, causing the automated assistant to render thespoken response that indicates the action to be performed by theautomated assistant may include causing the computing device of the userto audibly render synthesized speech corresponding to the transcriptionof the spoken utterance.

In addition, some implementations include one or more processors (e.g.,central processing unit(s) (CPU(s)), graphics processing unit(s)(GPU(s), and/or tensor processing unit(s) (TPU(s)) of one or morecomputing devices, where the one or more processors are operable toexecute instructions stored in associated memory, and where theinstructions are configured to cause performance of any of theaforementioned methods. Some implementations also include one or morenon-transitory computer readable storage media storing computerinstructions executable by one or more processors to perform any of theaforementioned methods. Some implementations also include a computerprogram product including instructions executable by one or moreprocessors to perform any of the aforementioned methods.

It should be appreciated that all combinations of the foregoing conceptsand additional concepts described in greater detail herein arecontemplated as being part of the subject matter disclosed herein. Forexample, all combinations of claimed subject matter appearing at the endof this disclosure are contemplated as being part of the subject matterdisclosed herein.

What is claimed is:
 1. A method implemented by one or more processors,the method comprising: receiving audio data corresponding to a spokenutterance of a user, the audio data being generated by one or moremicrophones of a computing device of the user; processing the audio datacorresponding to the spoken utterance to generate a plurality of speechhypotheses; determining, based on the plurality of speech hypotheses, anaction to be performed by an automated assistant, the action beingassociated with a given speech hypothesis of the plurality of speechhypotheses; causing the computing device of the user to render anindication of the action to be performed; in response to the computingdevice rendering the indication of the action to be performed, receivingadditional audio data corresponding to an additional spoken utterance ofthe user; processing the additional audio data corresponding to theadditional spoken utterance to determine that at least a portion of thespoken utterance is similar to an additional portion of the additionalspoken utterance; in response to determining that at least the portionof the spoken utterance is similar to the additional portion of theadditional spoken utterance, supplanting the action with an alternateaction to be performed by the automated assistant, the alternate actionbeing associated with an alternate speech hypothesis of the plurality ofspeech hypotheses; and causing the automated assistant to initiateperformance of the alternate action.
 2. The method of claim 1, whereinprocessing the additional audio data corresponding to the additionalspoken utterance to determine that at least the portion of the spokenutterance is similar to the additional portion of the additional spokenutterance comprises: comparing acoustic features of the audio datacorresponding to the spoken utterance to additional acoustic features ofthe additional audio data corresponding to the additional spokenutterance; and identifying, based on comparing the acoustic features andthe additional acoustic features, at least the portion of the spokenutterance that is similar to the additional portion of the additionalspoken utterance.
 3. The method of claim 2, further comprising:generating, based on the given speech hypothesis, a transcriptioncorresponding to the spoken utterance, the transcription including atleast the portion of the spoken utterance; generating, based on thealternate speech hypothesis, a transcription corresponding to theadditional spoken utterance, the additional transcription including atleast the additional portion of the additional spoken utterance;comparing the transcription corresponding to the spoken utterance to theadditional transcription corresponding to the additional spokenutterance; and identifying, based on comparing the transcription and theadditional transcription, the alternate action to be performed by theautomated assistant.
 4. The method of claim 1, further comprising:generating, based on the given speech hypothesis, a transcriptioncorresponding to the spoken utterance, the transcription including atleast the portion of the spoken utterance; generating, based on thealternate speech hypothesis, a transcription corresponding to theadditional spoken utterance, the additional transcription including atleast the additional portion of the additional spoken utterance;comparing the transcription corresponding to the spoken utterance to theadditional transcription corresponding to the additional spokenutterance; and identifying, based on comparing the transcription and theadditional transcription, the alternate action to be performed by theautomated assistant.
 5. The method of claim 1, wherein the spokenutterance and the additional spoken utterance are received during adialog session between the user and the automated assistant, the methodfurther comprising one or more of: biasing, during a subsequent dialogsession, processing of further additional audio data corresponding to afurther additional spoken utterance towards the alternate action; orbiasing, during the subsequent dialog session, processing of furtheradditional audio data corresponding to a further additional spokenutterance away from the action.
 6. The method of claim 1, whereinprocessing the audio data corresponding to the spoken utterance togenerate the speech hypotheses comprises: determining whether arespective confidence level associated with one or more of the speechhypotheses satisfies a threshold confidence level.
 7. The method ofclaim 6, further comprising: in response to determining that therespective confidence level associated with one or more of the speechhypotheses fails to satisfy the threshold confidence level: keeping oneor more components of the computing device active in anticipation ofreceiving the additional audio data corresponding to the additionalspoken utterance of the user.
 8. The method of claim 6, furthercomprising: in response to determining that the confidence levelassociated with the one or more speech hypotheses satisfies thethreshold confidence level: deactivating one or more components of thecomputing device of the user prior to receiving the additional audiodata corresponding to the additional spoken utterance of the user. 9.The method of claim 8, wherein the additional audio data correspondingto the additional spoken utterance of the user includes a trigger termor phrase to activate the one or more components of the computing deviceof the user to process the additional audio data corresponding to theadditional spoken utterance of the user.
 10. The method of claim 6,further comprising: in response to determining the respective confidencelevel associated with one or more of the speech hypotheses fails tosatisfy the threshold confidence level: determining a temporal delayprior to fully performing the action by the automated assistant.
 11. Themethod of claim 10, further comprising: prior to lapse of the temporaldelay, receiving the additional audio data corresponding to theadditional spoken utterance of the user.
 12. The method of claim 1,further comprising: determining to supplant the action to be performedby the automated assistant to include the alternate action based on theadditional audio data corresponding to the additional spoken utteranceincluding a correction term or phrase.
 13. The method of claim 1,wherein causing the computing device of the user to render theindication of the action to be performed by the automated assistantcomprises one or more of: causing the computing device of the user tovisually render the transcription of the spoken utterance; or causingthe computing device of the user to audibly render synthesized speechcorresponding to the transcription of the spoken utterance.
 14. A methodimplemented by one or more processors, the method comprising: receivingaudio data corresponding to a spoken utterance of a user, the audio databeing generated by one or more microphones of a computing device of theuser; processing, using a speech recognition model, the audio datacorresponding to the spoken utterance to generate a transcription of theutterance, and at least one confidence level associated with thetranscription; determining, based on the transcription, an action to beperformed by an automated assistant; when the confidence levelassociated with the transcription satisfies a threshold confidencelevel: causing the automated assistant to initiate full performance ofthe action without rendering, before initiating the full performance ofthe action, a spoken response that indicates the action to be performedby the automated assistant; and when the respective confidence levelassociated with the transcription fails to satisfy the thresholdconfidence level: causing the automated assistant to render a spokenresponse that indicates the action to be performed by the automatedassistant; and causing the automated assistant to fully perform theaction subsequent to rendering the spoken response that indicates theaction to be performed by the automated assistant.
 15. The method ofclaim 14, wherein the threshold confidence level is a first thresholdconfidence level, and further comprising: when the confidence levelassociated with the transcription fails to satisfy the first thresholdconfidence level, and also fails to satisfy a second thresholdconfidence level: causing the automated assistant to render the spokenresponse that indicates the action to be performed by the automatedassistant; determining a temporal delay associated with initiatingperformance of the action by the automated assistant; and in response todetermining that the temporal delay has lapsed, causing the automatedassistant to fully perform the action.
 16. The method of claim 15,wherein causing the automated assistant to render the spoken responsethat indicates the action to be performed by the automated assistant andcausing the automated assistant to fully perform the action subsequentto rendering the spoken response that indicates the action to beperformed by the automated assistant are performed when the confidencelevel associated with the transcription fails to satisfy the firstthreshold confidence level, but satisfies the second thresholdconfidence level.
 17. The method of claim 14, when the respectiveconfidence level associated with the given speech hypotheses satisfiesthe threshold confidence level, further comprising: deactivating one ormore components of the computing device of the user prior to receivingadditional audio data corresponding to an additional spoken utterance ofthe user.
 18. The method of claim 17, when the respective confidencelevel associated with the given speech hypotheses fails to satisfy thethreshold confidence level, further comprising: keeping one or morecomponents of the computing device active in anticipation of receivingadditional audio data corresponding to the additional spoken utteranceof the user.
 19. The method of claim 14, wherein causing the automatedassistant to render the spoken response that indicates the action to beperformed by the automated assistant comprises: causing the computingdevice of the user to audibly render synthesized speech corresponding tothe transcription of the spoken utterance.
 20. A system comprising: atleast one processor; and at least one memory storing instructions that,when executed, cause the at least one processor to: receive audio datacorresponding to a spoken utterance of a user, the audio data beinggenerated by one or more microphones of a computing device of the user;process the audio data corresponding to the spoken utterance to generatea plurality of speech hypotheses; determine, based on the plurality ofspeech hypotheses, an action to be performed by an automated assistant,the action being associated with a given speech hypothesis of theplurality of speech hypotheses; cause the computing device of the userto render an indication of the action to be performed; in response tothe computing device rendering the indication of the action to beperformed, receive additional audio data corresponding to an additionalspoken utterance of the user; process the additional audio datacorresponding to the additional spoken utterance to determine that atleast a portion of the spoken utterance is similar to an additionalportion of the additional spoken utterance; in response to determiningthat at least the portion of the spoken utterance is similar to theadditional portion of the additional spoken utterance, supplant theaction with an alternate action to be performed by the automatedassistant, the alternate action being associated with an alternatespeech hypothesis of the plurality of speech hypotheses; and cause theautomated assistant to initiate performance of the alternate action.